<?php

use yii\db\Schema;
use yii\db\Migration;

class m160121_073022_update_solution_budget extends Migration
{
    public function up()
    {
        $this->alterColumn('{{%solution}}', 'budget_flag', "tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '预算标识（0：每日预算，1：总预算）'");
    }

    public function down()
    {
        return true;
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
